import http from "../http";

function maintainCreate(params: any = {}) {
    return http.myRequest({
        url: '/server/treat/maintainCreate',
        method: 'post',
        data: params,
    })
}
function catheterCreate(params: any = {}) {
    return http.myRequest({
        url: '/server/treat/catheterCreate',
        method: 'post',
        data: params,
    })
}
function extubationCreate(params: any = {}) {
    return http.myRequest({
        url: '/server/treat/extubationCreate',
        method: 'post',
        data: params,
    })
}

function queryByIdType(params: any = {}) {
    return http.myRequest({
        url: '/server/treat/queryByIdType',
        method: 'post',
        data: params,
        header: {
            'content-type': 'application/x-www-form-urlencoded'
        }
    })
}


export default {
    maintainCreate,
    catheterCreate,
    extubationCreate,
    queryByIdType

}


